SCROLL

Syntax: SCROLL [#ch,] distance [,area]
Location: QL ROM

This command allows you to move the contents of a given window (default #1) up or down by a specified number of pixels (distance). A positive value for distance will move the contents of the window downwards, whereas a negative distance will move them upwards.

As the contents are moved, the space left by the movement of the window's contents will be filled with the current PAPER colour.

If you use the third parameter (area), you can specify that only part of the window is to be moved, by using the following values:-   

0 This is the default - move whole window.
1 Move the area above the text cursor line.
2 Move the area below the text cursor line.

Example:
SCROLL #3,20

CROSS-REFERENCE:
PAN allows you to move the contents of a window sideways.
WINDOW allows you to specify the area of the screen which a window covers.
